import RequireManage from "../pages/requireManage/requireManage.vue";
import HasRequiredManage from "../pages/requireManage/hasRequiredManage.vue";
import AddRequire from "../pages/addRequire.vue";
import Homepage from "../pages/homepage.vue";
import WaitBid from "../pages/bidManage/waitBid.vue";
import HasBidList from "../pages/bidManage/hasBidList.vue";
import BidDetail from "../pages/bidManage/bidDetail.vue";
import ReviewDetail from "../pages/reviewManage/reviewDetail.vue";
import RequireDetail from "../pages/requireManage/requireDetail.vue"
import WinBidDetail from "../pages/winBidManage/winBidDetail.vue"
import WaitReview from "../pages/reviewManage/reviewList.vue";
import WinBidList from "../pages/winBidManage/winBidList.vue";

import HasWinBidList from "../pages/winBidManage/hasWinBidList.vue";
import AdminControl from "../pages/admin/adminControl.vue";





const manageRouters = [
  {
    path: "/requireManage",
    component: RequireManage,
  },
  {
    path: "/bidDetail",
    component: BidDetail,
  },
  {
    path: "/requireDetail",
    component: RequireDetail,
  },
  {
    path: "/reviewDetail",
    component: ReviewDetail,
  },
  {
    path: "/hasRequiredManage",
    component: HasRequiredManage,
  },
  {
    path: "/addRequire",
    component: AddRequire,
  },
  {
    path: "/",
    redirect: "/homepage",
  },
  {
    path: "/homepage",
    component: Homepage,
  },
  {
    path: "/waitBid",
    component: WaitBid,
  },

  {
    path: "/hasBidList",
    component: HasBidList,
  },

  {
    path: "/adminControl",
    component: AdminControl,
  },
  {
    path: "/waitReview",
    component: WaitReview,
  },
  {
    path: "/winBidList",
    component: WinBidList,
  },
  {
    path: "/hasWinBidList",
    component: HasWinBidList,
  },
  {
    path: "/winBidDetail",
    component: WinBidDetail,
  },
];

export default manageRouters;
